package com.kaichaohulian.baocms.newmodel;

import java.util.List;

/**
 * Created by xzwzz on 2017/5/12.
 */

public class SearchModel {

    /**
     * code : 0
     * dataObject : [{"id":19,"createdTime":"2017-08-18 17:32:38","userId":7397,"type":3,"typeDesc":null,"title":"我是一个标题他","status":0,"recommendFlag":0,"payStatus":1,"userApplyCount":0,"statusDes":null,"userName":null},{"id":22,"createdTime":"2017-08-18 17:32:38","userId":7397,"type":6,"typeDesc":null,"title":"我是一个标题他","status":0,"recommendFlag":1,"payStatus":1,"userApplyCount":0,"statusDes":null,"userName":null},{"id":25,"createdTime":"2017-08-18 17:32:38","userId":7397,"type":9,"typeDesc":null,"title":"我是一个标题他","status":0,"recommendFlag":0,"payStatus":1,"userApplyCount":0,"statusDes":null,"userName":null}]
     * errorDescription : 提交成功！
     */

    private String code;
    private String errorDescription;
    private List<DataObjectBean> dataObject;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getErrorDescription() {
        return errorDescription;
    }

    public void setErrorDescription(String errorDescription) {
        this.errorDescription = errorDescription;
    }

    public List<DataObjectBean> getDataObject() {
        return dataObject;
    }

    public void setDataObject(List<DataObjectBean> dataObject) {
        this.dataObject = dataObject;
    }

    public static class DataObjectBean {
        /**
         * id : 19
         * createdTime : 2017-08-18 17:32:38
         * userId : 7397
         * type : 3
         * typeDesc : null
         * title : 我是一个标题他
         * status : 0
         * recommendFlag : 0
         * payStatus : 1
         * userApplyCount : 0
         * statusDes : null
         * userName : null
         */

        private String id;
        private String createdTime;
        private String userId;
        private String type;
        private String typeDesc;
        private String title;
        private String status;
        private String recommendFlag;
        private String payStatus;
        private String userApplyCount;
        private String statusDes;
        private String userName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public Object getTypeDesc() {
            return typeDesc;
        }

        public void setTypeDesc(String typeDesc) {
            this.typeDesc = typeDesc;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getRecommendFlag() {
            return recommendFlag;
        }

        public void setRecommendFlag(String recommendFlag) {
            this.recommendFlag = recommendFlag;
        }

        public String getPayStatus() {
            return payStatus;
        }

        public void setPayStatus(String payStatus) {
            this.payStatus = payStatus;
        }

        public String getUserApplyCount() {
            return userApplyCount;
        }

        public void setUserApplyCount(String userApplyCount) {
            this.userApplyCount = userApplyCount;
        }

        public Object getStatusDes() {
            return statusDes;
        }

        public void setStatusDes(String statusDes) {
            this.statusDes = statusDes;
        }

        public Object getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }
    }
}
